package com.woniuxy.meal.exception.CommentException;

public enum CommentExceptionCode {


    COMMENT_NOT_ACCESS(5041,"无权评论"),
    COMMENT_NOT_EXIST(5042,"评论不存在"),
    USER_NOT_ACCESS_DEL(5043,"用户无权删除");




    Integer code;
    String message;

    CommentExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public Integer getCode() {
        return code;
    }
}
